package com.example.authsystem.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "用户活动统计数据")
public class UserActivityDto {

    @Schema(description = "日期", example = "2024-01-15")
    private LocalDate date;

    @Schema(description = "登录次数", example = "234")
    private Long loginCount;

    @Schema(description = "注册人数", example = "12")
    private Long registrationCount;

    @Schema(description = "活跃用户数", example = "189")
    private Long activeUserCount;

    @Schema(description = "页面访问量", example = "1567")
    private Long pageViews;

    @Schema(description = "API调用次数", example = "3421")
    private Long apiCalls;
}
